package cn.historia.domain.strategy.service.rule.chain;

/**
 * @package: cn.historia.domain.strategy.service.rule.chain
 * @className: AbstractLogicChain
 * @author: 云溪
 * @description: 抽奖策略责任链，判断走那种抽奖策略。如；默认抽象、权重抽奖、黑名单抽奖
 * @date: 2025/7/23 21:44
 * @version: 1.0
 */
public abstract class AbstractLogicChain implements ILogicChain{

    private ILogicChain next;

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    @Override
    public ILogicChain next() {
        return next;
    }


    protected abstract String ruleModel();


}
